<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Qwt User&#39;s Guide: qwt_polar_item.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Qwt User&#39;s Guide
   &#160;<span id="projectnumber">6.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('qwt__polar__item_8cpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">qwt_polar_item.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/******************************************************************************</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * QwtPolar Widget Library</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * Copyright (C) 2008   Uwe Rathmann</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * This library is free software; you can redistribute it and/or</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * modify it under the terms of the Qwt License, Version 1.0</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *****************************************************************************/</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160; </div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#include &quot;qwt_polar_plot.h&quot;</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &quot;qwt_polar_item.h&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &quot;qwt_legend.h&quot;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &quot;qwt_scale_div.h&quot;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160; </div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &lt;qpainter.h&gt;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160; </div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="keyword">class </span>QwtPolarItem::PrivateData</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;{</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;    PrivateData()</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;        : <a class="code" href="class_qwt_polar_item.html#a803b53442760b19a533e1026bf299f9d">plot</a>( NULL )</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;        , <a class="code" href="class_qwt_polar_item.html#a2417cb6a3282a1f406da00e1d8608146">isVisible</a>( true )</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;        , <a class="code" href="class_qwt_polar_item.html#aa3d0e4373d1108f819bddc36e070c746">renderThreadCount</a>( 1 )</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;        , <a class="code" href="class_qwt_polar_item.html#a44b930c94007de9690ef9bcf10d4107b">z</a>( 0.0 )</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;        , <a class="code" href="class_qwt_polar_item.html#a0d58642e90028668d7f601e65662c922">legendIconSize</a>( 8, 8 )</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;    {</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;    }</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160; </div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    <span class="keyword">mutable</span> <a class="code" href="class_qwt_polar_plot.html">QwtPolarPlot</a>* <a class="code" href="class_qwt_polar_item.html#a803b53442760b19a533e1026bf299f9d">plot</a>;</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160; </div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_qwt_polar_item.html#a2417cb6a3282a1f406da00e1d8608146">isVisible</a>;</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    <a class="code" href="class_qwt_polar_item.html#a5e78456060d0d49fbae38c802bc0449c">QwtPolarItem::ItemAttributes</a> attributes;</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    <a class="code" href="class_qwt_polar_item.html#a88f4cdb70b466e1e7163538b8df9c85f">QwtPolarItem::RenderHints</a> renderHints;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    uint <a class="code" href="class_qwt_polar_item.html#aa3d0e4373d1108f819bddc36e070c746">renderThreadCount</a>;</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160; </div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_qwt_polar_item.html#a44b930c94007de9690ef9bcf10d4107b">z</a>;</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    <a class="code" href="class_qwt_text.html">QwtText</a> <a class="code" href="class_qwt_polar_item.html#a5d63cac0d1d704149cab14eaa15cc28f">title</a>;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    QSize <a class="code" href="class_qwt_polar_item.html#a0d58642e90028668d7f601e65662c922">legendIconSize</a>;</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;};</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160; </div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#a22fdc73eb7e217a1ebedc6efdeff3617">   48</a></span>&#160;<a class="code" href="class_qwt_polar_item.html#a22fdc73eb7e217a1ebedc6efdeff3617">QwtPolarItem::QwtPolarItem</a>( <span class="keyword">const</span> <a class="code" href="class_qwt_text.html">QwtText</a>&amp; title )</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;{</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    m_data = <span class="keyword">new</span> PrivateData;</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    m_data-&gt;title = <a class="code" href="class_qwt_polar_item.html#a5d63cac0d1d704149cab14eaa15cc28f">title</a>;</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;}</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160; </div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#a84d84ea11f052f58b9e2dd82b0fbddde">   55</a></span>&#160;<a class="code" href="class_qwt_polar_item.html#a84d84ea11f052f58b9e2dd82b0fbddde">QwtPolarItem::~QwtPolarItem</a>()</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;{</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <a class="code" href="class_qwt_polar_item.html#a9139f1fafbb5c196bed65495af18021d">attach</a>( NULL );</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <span class="keyword">delete</span> m_data;</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;}</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160; </div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#a9139f1fafbb5c196bed65495af18021d">   74</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_polar_item.html#a9139f1fafbb5c196bed65495af18021d">QwtPolarItem::attach</a>( <a class="code" href="class_qwt_polar_plot.html">QwtPolarPlot</a>* plot )</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;{</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_polar_item.html#a803b53442760b19a533e1026bf299f9d">plot</a> == m_data-&gt;plot )</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160; </div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;plot )</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;        m_data-&gt;plot-&gt;attachItem( <span class="keyword">this</span>, <span class="keyword">false</span> );</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160; </div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    m_data-&gt;plot = <a class="code" href="class_qwt_polar_item.html#a803b53442760b19a533e1026bf299f9d">plot</a>;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160; </div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;plot )</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;        m_data-&gt;plot-&gt;attachItem( <span class="keyword">this</span>, <span class="keyword">true</span> );</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;}</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160; </div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#a287c3b95d98ff6fccf41efdad547f9fc">   95</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_polar_item.html#a287c3b95d98ff6fccf41efdad547f9fc">QwtPolarItem::detach</a>()</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;{</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <a class="code" href="class_qwt_polar_item.html#a9139f1fafbb5c196bed65495af18021d">attach</a>( NULL );</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;}</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160; </div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#af98ff690ffccd9c7d8af52f456014c1e">  112</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="class_qwt_polar_item.html#af98ff690ffccd9c7d8af52f456014c1e">QwtPolarItem::rtti</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_qwt_polar_item.html#a6c03d774c1d089ec8603dd37879a9f4dafcfda7285dc39cce71850cc5a77ada5f">Rtti_PolarItem</a>;</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;}</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160; </div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#a803b53442760b19a533e1026bf299f9d">  118</a></span>&#160;<a class="code" href="class_qwt_polar_plot.html">QwtPolarPlot</a>* <a class="code" href="class_qwt_polar_item.html#a803b53442760b19a533e1026bf299f9d">QwtPolarItem::plot</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;plot;</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;}</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160; </div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#a44b930c94007de9690ef9bcf10d4107b">  129</a></span>&#160;<span class="keywordtype">double</span> <a class="code" href="class_qwt_polar_item.html#a44b930c94007de9690ef9bcf10d4107b">QwtPolarItem::z</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;z;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;}</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160; </div>
<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#acef8efd945a194b70a11ad39060de917">  142</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_polar_item.html#acef8efd945a194b70a11ad39060de917">QwtPolarItem::setZ</a>( <span class="keywordtype">double</span> z )</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;{</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;z != <a class="code" href="class_qwt_polar_item.html#a44b930c94007de9690ef9bcf10d4107b">z</a> )</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    {</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;        <span class="keywordflow">if</span> ( m_data-&gt;plot )</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;            m_data-&gt;plot-&gt;attachItem( <span class="keyword">this</span>, <span class="keyword">false</span> );</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160; </div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;        m_data-&gt;z = <a class="code" href="class_qwt_polar_item.html#a44b930c94007de9690ef9bcf10d4107b">z</a>;</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160; </div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;        <span class="keywordflow">if</span> ( m_data-&gt;plot )</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;            m_data-&gt;plot-&gt;attachItem( <span class="keyword">this</span>, <span class="keyword">true</span> );</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160; </div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;        <a class="code" href="class_qwt_polar_item.html#a0fa7263683e0982892162174328a55c1">itemChanged</a>();</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    }</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;}</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160; </div>
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#a5d4a9c3d2e56d0240f29ba096c70f882">  164</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_polar_item.html#a5d4a9c3d2e56d0240f29ba096c70f882">QwtPolarItem::setTitle</a>( <span class="keyword">const</span> QString&amp; title )</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;{</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;    <a class="code" href="class_qwt_polar_item.html#a5d4a9c3d2e56d0240f29ba096c70f882">setTitle</a>( <a class="code" href="class_qwt_text.html">QwtText</a>( <a class="code" href="class_qwt_polar_item.html#a5d63cac0d1d704149cab14eaa15cc28f">title</a> ) );</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;}</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160; </div>
<div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#a75b5cb02ab578e37718ce563fee6004d">  175</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_polar_item.html#a5d4a9c3d2e56d0240f29ba096c70f882">QwtPolarItem::setTitle</a>( <span class="keyword">const</span> <a class="code" href="class_qwt_text.html">QwtText</a>&amp; title )</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;{</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;title != <a class="code" href="class_qwt_polar_item.html#a5d63cac0d1d704149cab14eaa15cc28f">title</a> )</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    {</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;        m_data-&gt;title = <a class="code" href="class_qwt_polar_item.html#a5d63cac0d1d704149cab14eaa15cc28f">title</a>;</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;        <a class="code" href="class_qwt_polar_item.html#a0fa7263683e0982892162174328a55c1">itemChanged</a>();</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;    }</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;}</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160; </div>
<div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#a5d63cac0d1d704149cab14eaa15cc28f">  188</a></span>&#160;<span class="keyword">const</span> <a class="code" href="class_qwt_text.html">QwtText</a>&amp; <a class="code" href="class_qwt_polar_item.html#a5d63cac0d1d704149cab14eaa15cc28f">QwtPolarItem::title</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;title;</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;}</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160; </div>
<div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#aa5222a54ed4578061f6af398a289ab0e">  201</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_polar_item.html#aa5222a54ed4578061f6af398a289ab0e">QwtPolarItem::setItemAttribute</a>( <a class="code" href="class_qwt_polar_item.html#a3dfa4f39bc1ac99b0371b4938abe6ad6">ItemAttribute</a> attribute, <span class="keywordtype">bool</span> on )</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;{</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;    <span class="keywordflow">if</span> ( <span class="keywordtype">bool</span>( m_data-&gt;attributes &amp; attribute ) != on )</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;    {</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;        <span class="keywordflow">if</span> ( on )</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;            m_data-&gt;attributes |= attribute;</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;            m_data-&gt;attributes &amp;= ~attribute;</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160; </div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;        <a class="code" href="class_qwt_polar_item.html#a0fa7263683e0982892162174328a55c1">itemChanged</a>();</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;    }</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;}</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160; </div>
<div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#a01db5fa1da8bcf85725de600081ca06f">  221</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_qwt_polar_item.html#a01db5fa1da8bcf85725de600081ca06f">QwtPolarItem::testItemAttribute</a>( <a class="code" href="class_qwt_polar_item.html#a3dfa4f39bc1ac99b0371b4938abe6ad6">ItemAttribute</a> attribute )<span class="keyword"> const</span></div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;attributes &amp; attribute;</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;}</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160; </div>
<div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#acaa87e47f7a3d307f138bbce2dae7095">  234</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_polar_item.html#acaa87e47f7a3d307f138bbce2dae7095">QwtPolarItem::setRenderHint</a>( <a class="code" href="class_qwt_polar_item.html#aafc969899461b4fb481396cd347614ed">RenderHint</a> hint, <span class="keywordtype">bool</span> on )</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;{</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;    <span class="keywordflow">if</span> ( ( ( m_data-&gt;renderHints &amp; hint ) != 0 ) != on )</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;    {</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;        <span class="keywordflow">if</span> ( on )</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;            m_data-&gt;renderHints |= hint;</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;            m_data-&gt;renderHints &amp;= ~hint;</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160; </div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;        <a class="code" href="class_qwt_polar_item.html#a0fa7263683e0982892162174328a55c1">itemChanged</a>();</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;    }</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;}</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160; </div>
<div class="line"><a name="l00254"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#a63ef394b277bf35dd4343b5ac68cf641">  254</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_qwt_polar_item.html#a63ef394b277bf35dd4343b5ac68cf641">QwtPolarItem::testRenderHint</a>( <a class="code" href="class_qwt_polar_item.html#aafc969899461b4fb481396cd347614ed">RenderHint</a> hint )<span class="keyword"> const</span></div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;    <span class="keywordflow">return</span> ( m_data-&gt;renderHints &amp; hint );</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;}</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160; </div>
<div class="line"><a name="l00272"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#a3349eafd69c1e0249be71953b2551ff5">  272</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_polar_item.html#a3349eafd69c1e0249be71953b2551ff5">QwtPolarItem::setRenderThreadCount</a>( uint numThreads )</div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;{</div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;    m_data-&gt;renderThreadCount = numThreads;</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;}</div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160; </div>
<div class="line"><a name="l00282"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#aa3d0e4373d1108f819bddc36e070c746">  282</a></span>&#160;uint <a class="code" href="class_qwt_polar_item.html#aa3d0e4373d1108f819bddc36e070c746">QwtPolarItem::renderThreadCount</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;renderThreadCount;</div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;}</div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160; </div>
<div class="line"><a name="l00295"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#a216fd1f5572147494ce794933ca41f60">  295</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_polar_item.html#a216fd1f5572147494ce794933ca41f60">QwtPolarItem::setLegendIconSize</a>( <span class="keyword">const</span> QSize&amp; size )</div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;{</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;legendIconSize != size )</div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;    {</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;        m_data-&gt;legendIconSize = size;</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;        <a class="code" href="class_qwt_polar_item.html#ac0e8b4bed9e819210271bdde3de58d3d">legendChanged</a>();</div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;    }</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;}</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160; </div>
<div class="line"><a name="l00308"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#a0d58642e90028668d7f601e65662c922">  308</a></span>&#160;QSize <a class="code" href="class_qwt_polar_item.html#a0d58642e90028668d7f601e65662c922">QwtPolarItem::legendIconSize</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;legendIconSize;</div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;}</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160; </div>
<div class="line"><a name="l00314"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#abc6bba0128e8b9ce0a722640ca8a3e53">  314</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_polar_item.html#abc6bba0128e8b9ce0a722640ca8a3e53">QwtPolarItem::show</a>()</div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;{</div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;    <a class="code" href="class_qwt_polar_item.html#a75f908fc0ee164fdd3bb50436c1d90df">setVisible</a>( <span class="keyword">true</span> );</div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;}</div>
<div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160; </div>
<div class="line"><a name="l00320"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#a7160d323c3f0326d451ee71a636b60c4">  320</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_polar_item.html#a7160d323c3f0326d451ee71a636b60c4">QwtPolarItem::hide</a>()</div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;{</div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;    <a class="code" href="class_qwt_polar_item.html#a75f908fc0ee164fdd3bb50436c1d90df">setVisible</a>( <span class="keyword">false</span> );</div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;}</div>
<div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160; </div>
<div class="line"><a name="l00331"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#a75f908fc0ee164fdd3bb50436c1d90df">  331</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_polar_item.html#a75f908fc0ee164fdd3bb50436c1d90df">QwtPolarItem::setVisible</a>( <span class="keywordtype">bool</span> on )</div>
<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;{</div>
<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;    <span class="keywordflow">if</span> ( on != m_data-&gt;isVisible )</div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;    {</div>
<div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;        m_data-&gt;isVisible = on;</div>
<div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;        <a class="code" href="class_qwt_polar_item.html#a0fa7263683e0982892162174328a55c1">itemChanged</a>();</div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;    }</div>
<div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;}</div>
<div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160; </div>
<div class="line"><a name="l00344"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#a2417cb6a3282a1f406da00e1d8608146">  344</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_qwt_polar_item.html#a2417cb6a3282a1f406da00e1d8608146">QwtPolarItem::isVisible</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;isVisible;</div>
<div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;}</div>
<div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160; </div>
<div class="line"><a name="l00355"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#a0fa7263683e0982892162174328a55c1">  355</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_polar_item.html#a0fa7263683e0982892162174328a55c1">QwtPolarItem::itemChanged</a>()</div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;{</div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;plot )</div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;        m_data-&gt;plot-&gt;autoRefresh();</div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;}</div>
<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160; </div>
<div class="line"><a name="l00365"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#ac0e8b4bed9e819210271bdde3de58d3d">  365</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_polar_item.html#ac0e8b4bed9e819210271bdde3de58d3d">QwtPolarItem::legendChanged</a>()</div>
<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;{</div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;    <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_polar_item.html#a01db5fa1da8bcf85725de600081ca06f">testItemAttribute</a>( <a class="code" href="class_qwt_polar_item.html#a3dfa4f39bc1ac99b0371b4938abe6ad6a6f900569b4e72f925ea64bed4d149d5e">QwtPolarItem::Legend</a> ) &amp;&amp; m_data-&gt;plot )</div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;        m_data-&gt;plot-&gt;updateLegend( <span class="keyword">this</span> );</div>
<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;}</div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160; </div>
<div class="line"><a name="l00381"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#a074117c0a19a249e83aca1f9b9291cb5">  381</a></span>&#160;<a class="code" href="class_qwt_interval.html">QwtInterval</a> <a class="code" href="class_qwt_polar_item.html#a074117c0a19a249e83aca1f9b9291cb5">QwtPolarItem::boundingInterval</a>( <span class="keywordtype">int</span> scaleId )<span class="keyword"> const</span></div>
<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;    Q_UNUSED( scaleId );</div>
<div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160; </div>
<div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_qwt_interval.html">QwtInterval</a>(); <span class="comment">// invalid</span></div>
<div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;}</div>
<div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160; </div>
<div class="line"><a name="l00403"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#a459d264543f40e9a41de90bc486b0f1f">  403</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_polar_item.html#a459d264543f40e9a41de90bc486b0f1f">QwtPolarItem::updateScaleDiv</a>( <span class="keyword">const</span> <a class="code" href="class_qwt_scale_div.html">QwtScaleDiv</a>&amp; azimuthScaleDiv,</div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_scale_div.html">QwtScaleDiv</a>&amp; radialScaleDiv, <span class="keyword">const</span> <a class="code" href="class_qwt_interval.html">QwtInterval</a>&amp; interval )</div>
<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;{</div>
<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;    Q_UNUSED( azimuthScaleDiv );</div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;    Q_UNUSED( radialScaleDiv );</div>
<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;    Q_UNUSED( interval );</div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;}</div>
<div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160; </div>
<div class="line"><a name="l00428"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#a592d121b6d79db13161b18a138f13e70">  428</a></span>&#160;<a class="code" href="class_q_list.html">QList&lt; QwtLegendData &gt;</a> <a class="code" href="class_qwt_polar_item.html#a592d121b6d79db13161b18a138f13e70">QwtPolarItem::legendData</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;    <a class="code" href="class_qwt_legend_data.html">QwtLegendData</a> data;</div>
<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160; </div>
<div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;    <a class="code" href="class_qwt_text.html">QwtText</a> label = <a class="code" href="class_qwt_polar_item.html#a5d63cac0d1d704149cab14eaa15cc28f">title</a>();</div>
<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;    label.<a class="code" href="class_qwt_text.html#afcbaa37913afaa0e92a649923cfe500b">setRenderFlags</a>( label.<a class="code" href="class_qwt_text.html#a4284800d239934818c1951381ff52d05">renderFlags</a>() &amp; Qt::AlignLeft );</div>
<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160; </div>
<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;    data.<a class="code" href="class_qwt_legend_data.html#a1be4b4cf3c1df733744633ea6c02346a">setValue</a>( QwtLegendData::TitleRole,</div>
<div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;        QVariant::fromValue( label ) );</div>
<div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160; </div>
<div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_graphic.html">QwtGraphic</a> graphic = <a class="code" href="class_qwt_polar_item.html#a971930cdc6c7d750634c9ae07f01a5e2">legendIcon</a>( 0, <a class="code" href="class_qwt_polar_item.html#a0d58642e90028668d7f601e65662c922">legendIconSize</a>() );</div>
<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;    <span class="keywordflow">if</span> ( !graphic.<a class="code" href="class_qwt_graphic.html#a4d9805fcf85568fc6f67293a6f805537">isNull</a>() )</div>
<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;    {</div>
<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;        data.<a class="code" href="class_qwt_legend_data.html#a1be4b4cf3c1df733744633ea6c02346a">setValue</a>( QwtLegendData::IconRole,</div>
<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;            QVariant::fromValue( graphic ) );</div>
<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;    }</div>
<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160; </div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;    <a class="code" href="class_q_list.html">QList&lt; QwtLegendData &gt;</a> list;</div>
<div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;    list += data;</div>
<div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160; </div>
<div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;    <span class="keywordflow">return</span> list;</div>
<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;}</div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160; </div>
<div class="line"><a name="l00462"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#a971930cdc6c7d750634c9ae07f01a5e2">  462</a></span>&#160;<a class="code" href="class_qwt_graphic.html">QwtGraphic</a> <a class="code" href="class_qwt_polar_item.html#a971930cdc6c7d750634c9ae07f01a5e2">QwtPolarItem::legendIcon</a>(</div>
<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;    <span class="keywordtype">int</span> index, <span class="keyword">const</span> QSizeF&amp; size )<span class="keyword"> const</span></div>
<div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;    Q_UNUSED( index )</div>
<div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;    Q_UNUSED( size )</div>
<div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160; </div>
<div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_qwt_graphic.html">QwtGraphic</a>();</div>
<div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;}</div>
<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160; </div>
<div class="line"><a name="l00478"></a><span class="lineno"><a class="line" href="class_qwt_polar_item.html#a86e899b76f4682bdb791eca7e145e2bd">  478</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="class_qwt_polar_item.html#a86e899b76f4682bdb791eca7e145e2bd">QwtPolarItem::marginHint</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;    <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;}</div>
<div class="ttc" id="aclass_q_list_html"><div class="ttname"><a href="class_q_list.html">QList</a></div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__legend_8h_source.html#l00017">qwt_abstract_legend.h:17</a></div></div>
<div class="ttc" id="aclass_qwt_graphic_html"><div class="ttname"><a href="class_qwt_graphic.html">QwtGraphic</a></div><div class="ttdoc">A paint device for scalable graphics.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__graphic_8h_source.html#l00075">qwt_graphic.h:76</a></div></div>
<div class="ttc" id="aclass_qwt_graphic_html_a4d9805fcf85568fc6f67293a6f805537"><div class="ttname"><a href="class_qwt_graphic.html#a4d9805fcf85568fc6f67293a6f805537">QwtGraphic::isNull</a></div><div class="ttdeci">bool isNull() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__graphic_8cpp_source.html#l00413">qwt_graphic.cpp:413</a></div></div>
<div class="ttc" id="aclass_qwt_interval_html"><div class="ttname"><a href="class_qwt_interval.html">QwtInterval</a></div><div class="ttdoc">A class representing an interval.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval_8h_source.html#l00022">qwt_interval.h:23</a></div></div>
<div class="ttc" id="aclass_qwt_legend_data_html"><div class="ttname"><a href="class_qwt_legend_data.html">QwtLegendData</a></div><div class="ttdoc">Attributes of an entry on a legend.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__legend__data_8h_source.html#l00036">qwt_legend_data.h:37</a></div></div>
<div class="ttc" id="aclass_qwt_legend_data_html_a1be4b4cf3c1df733744633ea6c02346a"><div class="ttname"><a href="class_qwt_legend_data.html#a1be4b4cf3c1df733744633ea6c02346a">QwtLegendData::setValue</a></div><div class="ttdeci">void setValue(int role, const QVariant &amp;)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__legend__data_8cpp_source.html#l00064">qwt_legend_data.cpp:64</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a01db5fa1da8bcf85725de600081ca06f"><div class="ttname"><a href="class_qwt_polar_item.html#a01db5fa1da8bcf85725de600081ca06f">QwtPolarItem::testItemAttribute</a></div><div class="ttdeci">bool testItemAttribute(ItemAttribute) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00221">qwt_polar_item.cpp:221</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a074117c0a19a249e83aca1f9b9291cb5"><div class="ttname"><a href="class_qwt_polar_item.html#a074117c0a19a249e83aca1f9b9291cb5">QwtPolarItem::boundingInterval</a></div><div class="ttdeci">virtual QwtInterval boundingInterval(int scaleId) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00381">qwt_polar_item.cpp:381</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a0d58642e90028668d7f601e65662c922"><div class="ttname"><a href="class_qwt_polar_item.html#a0d58642e90028668d7f601e65662c922">QwtPolarItem::legendIconSize</a></div><div class="ttdeci">QSize legendIconSize() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00308">qwt_polar_item.cpp:308</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a0fa7263683e0982892162174328a55c1"><div class="ttname"><a href="class_qwt_polar_item.html#a0fa7263683e0982892162174328a55c1">QwtPolarItem::itemChanged</a></div><div class="ttdeci">virtual void itemChanged()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00355">qwt_polar_item.cpp:355</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a216fd1f5572147494ce794933ca41f60"><div class="ttname"><a href="class_qwt_polar_item.html#a216fd1f5572147494ce794933ca41f60">QwtPolarItem::setLegendIconSize</a></div><div class="ttdeci">void setLegendIconSize(const QSize &amp;)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00295">qwt_polar_item.cpp:295</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a22fdc73eb7e217a1ebedc6efdeff3617"><div class="ttname"><a href="class_qwt_polar_item.html#a22fdc73eb7e217a1ebedc6efdeff3617">QwtPolarItem::QwtPolarItem</a></div><div class="ttdeci">QwtPolarItem(const QwtText &amp;title=QwtText())</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00048">qwt_polar_item.cpp:48</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a2417cb6a3282a1f406da00e1d8608146"><div class="ttname"><a href="class_qwt_polar_item.html#a2417cb6a3282a1f406da00e1d8608146">QwtPolarItem::isVisible</a></div><div class="ttdeci">bool isVisible() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00344">qwt_polar_item.cpp:344</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a287c3b95d98ff6fccf41efdad547f9fc"><div class="ttname"><a href="class_qwt_polar_item.html#a287c3b95d98ff6fccf41efdad547f9fc">QwtPolarItem::detach</a></div><div class="ttdeci">void detach()</div><div class="ttdoc">This method detaches a QwtPolarItem from the QwtPolarPlot it has been associated with.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00095">qwt_polar_item.cpp:95</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a3349eafd69c1e0249be71953b2551ff5"><div class="ttname"><a href="class_qwt_polar_item.html#a3349eafd69c1e0249be71953b2551ff5">QwtPolarItem::setRenderThreadCount</a></div><div class="ttdeci">void setRenderThreadCount(uint numThreads)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00272">qwt_polar_item.cpp:272</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a3dfa4f39bc1ac99b0371b4938abe6ad6"><div class="ttname"><a href="class_qwt_polar_item.html#a3dfa4f39bc1ac99b0371b4938abe6ad6">QwtPolarItem::ItemAttribute</a></div><div class="ttdeci">ItemAttribute</div><div class="ttdoc">Plot Item Attributes.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8h_source.html#l00074">qwt_polar_item.h:75</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a3dfa4f39bc1ac99b0371b4938abe6ad6a6f900569b4e72f925ea64bed4d149d5e"><div class="ttname"><a href="class_qwt_polar_item.html#a3dfa4f39bc1ac99b0371b4938abe6ad6a6f900569b4e72f925ea64bed4d149d5e">QwtPolarItem::Legend</a></div><div class="ttdeci">@ Legend</div><div class="ttdoc">The item is represented on the legend.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8h_source.html#l00077">qwt_polar_item.h:77</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a44b930c94007de9690ef9bcf10d4107b"><div class="ttname"><a href="class_qwt_polar_item.html#a44b930c94007de9690ef9bcf10d4107b">QwtPolarItem::z</a></div><div class="ttdeci">double z() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00129">qwt_polar_item.cpp:129</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a459d264543f40e9a41de90bc486b0f1f"><div class="ttname"><a href="class_qwt_polar_item.html#a459d264543f40e9a41de90bc486b0f1f">QwtPolarItem::updateScaleDiv</a></div><div class="ttdeci">virtual void updateScaleDiv(const QwtScaleDiv &amp;, const QwtScaleDiv &amp;, const QwtInterval &amp;)</div><div class="ttdoc">Update the item to changes of the axes scale division.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00403">qwt_polar_item.cpp:403</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a592d121b6d79db13161b18a138f13e70"><div class="ttname"><a href="class_qwt_polar_item.html#a592d121b6d79db13161b18a138f13e70">QwtPolarItem::legendData</a></div><div class="ttdeci">virtual QList&lt; QwtLegendData &gt; legendData() const</div><div class="ttdoc">Return all information, that is needed to represent the item on the legend.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00428">qwt_polar_item.cpp:428</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a5d4a9c3d2e56d0240f29ba096c70f882"><div class="ttname"><a href="class_qwt_polar_item.html#a5d4a9c3d2e56d0240f29ba096c70f882">QwtPolarItem::setTitle</a></div><div class="ttdeci">void setTitle(const QString &amp;title)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00164">qwt_polar_item.cpp:164</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a5d63cac0d1d704149cab14eaa15cc28f"><div class="ttname"><a href="class_qwt_polar_item.html#a5d63cac0d1d704149cab14eaa15cc28f">QwtPolarItem::title</a></div><div class="ttdeci">const QwtText &amp; title() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00188">qwt_polar_item.cpp:188</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a5e78456060d0d49fbae38c802bc0449c"><div class="ttname"><a href="class_qwt_polar_item.html#a5e78456060d0d49fbae38c802bc0449c">QwtPolarItem::ItemAttributes</a></div><div class="ttdeci">QFlags&lt; ItemAttribute &gt; ItemAttributes</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8h_source.html#l00086">qwt_polar_item.h:86</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a63ef394b277bf35dd4343b5ac68cf641"><div class="ttname"><a href="class_qwt_polar_item.html#a63ef394b277bf35dd4343b5ac68cf641">QwtPolarItem::testRenderHint</a></div><div class="ttdeci">bool testRenderHint(RenderHint) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00254">qwt_polar_item.cpp:254</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a6c03d774c1d089ec8603dd37879a9f4dafcfda7285dc39cce71850cc5a77ada5f"><div class="ttname"><a href="class_qwt_polar_item.html#a6c03d774c1d089ec8603dd37879a9f4dafcfda7285dc39cce71850cc5a77ada5f">QwtPolarItem::Rtti_PolarItem</a></div><div class="ttdeci">@ Rtti_PolarItem</div><div class="ttdoc">Unspecific value, that can be used, when it doesn't matter.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8h_source.html#l00049">qwt_polar_item.h:49</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a7160d323c3f0326d451ee71a636b60c4"><div class="ttname"><a href="class_qwt_polar_item.html#a7160d323c3f0326d451ee71a636b60c4">QwtPolarItem::hide</a></div><div class="ttdeci">void hide()</div><div class="ttdoc">Hide the item.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00320">qwt_polar_item.cpp:320</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a75f908fc0ee164fdd3bb50436c1d90df"><div class="ttname"><a href="class_qwt_polar_item.html#a75f908fc0ee164fdd3bb50436c1d90df">QwtPolarItem::setVisible</a></div><div class="ttdeci">virtual void setVisible(bool)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00331">qwt_polar_item.cpp:331</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a803b53442760b19a533e1026bf299f9d"><div class="ttname"><a href="class_qwt_polar_item.html#a803b53442760b19a533e1026bf299f9d">QwtPolarItem::plot</a></div><div class="ttdeci">QwtPolarPlot * plot() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00118">qwt_polar_item.cpp:118</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a84d84ea11f052f58b9e2dd82b0fbddde"><div class="ttname"><a href="class_qwt_polar_item.html#a84d84ea11f052f58b9e2dd82b0fbddde">QwtPolarItem::~QwtPolarItem</a></div><div class="ttdeci">virtual ~QwtPolarItem()</div><div class="ttdoc">Destroy the QwtPolarItem.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00055">qwt_polar_item.cpp:55</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a86e899b76f4682bdb791eca7e145e2bd"><div class="ttname"><a href="class_qwt_polar_item.html#a86e899b76f4682bdb791eca7e145e2bd">QwtPolarItem::marginHint</a></div><div class="ttdeci">virtual int marginHint() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00478">qwt_polar_item.cpp:478</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a88f4cdb70b466e1e7163538b8df9c85f"><div class="ttname"><a href="class_qwt_polar_item.html#a88f4cdb70b466e1e7163538b8df9c85f">QwtPolarItem::RenderHints</a></div><div class="ttdeci">QFlags&lt; RenderHint &gt; RenderHints</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8h_source.html#l00098">qwt_polar_item.h:98</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a9139f1fafbb5c196bed65495af18021d"><div class="ttname"><a href="class_qwt_polar_item.html#a9139f1fafbb5c196bed65495af18021d">QwtPolarItem::attach</a></div><div class="ttdeci">void attach(QwtPolarPlot *plot)</div><div class="ttdoc">Attach the item to a plot.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00074">qwt_polar_item.cpp:74</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_a971930cdc6c7d750634c9ae07f01a5e2"><div class="ttname"><a href="class_qwt_polar_item.html#a971930cdc6c7d750634c9ae07f01a5e2">QwtPolarItem::legendIcon</a></div><div class="ttdeci">virtual QwtGraphic legendIcon(int index, const QSizeF &amp;) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00462">qwt_polar_item.cpp:462</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_aa3d0e4373d1108f819bddc36e070c746"><div class="ttname"><a href="class_qwt_polar_item.html#aa3d0e4373d1108f819bddc36e070c746">QwtPolarItem::renderThreadCount</a></div><div class="ttdeci">uint renderThreadCount() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00282">qwt_polar_item.cpp:282</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_aa5222a54ed4578061f6af398a289ab0e"><div class="ttname"><a href="class_qwt_polar_item.html#aa5222a54ed4578061f6af398a289ab0e">QwtPolarItem::setItemAttribute</a></div><div class="ttdeci">void setItemAttribute(ItemAttribute, bool on=true)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00201">qwt_polar_item.cpp:201</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_aafc969899461b4fb481396cd347614ed"><div class="ttname"><a href="class_qwt_polar_item.html#aafc969899461b4fb481396cd347614ed">QwtPolarItem::RenderHint</a></div><div class="ttdeci">RenderHint</div><div class="ttdoc">Render hints.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8h_source.html#l00092">qwt_polar_item.h:93</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_abc6bba0128e8b9ce0a722640ca8a3e53"><div class="ttname"><a href="class_qwt_polar_item.html#abc6bba0128e8b9ce0a722640ca8a3e53">QwtPolarItem::show</a></div><div class="ttdeci">void show()</div><div class="ttdoc">Show the item.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00314">qwt_polar_item.cpp:314</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_ac0e8b4bed9e819210271bdde3de58d3d"><div class="ttname"><a href="class_qwt_polar_item.html#ac0e8b4bed9e819210271bdde3de58d3d">QwtPolarItem::legendChanged</a></div><div class="ttdeci">virtual void legendChanged()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00365">qwt_polar_item.cpp:365</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_acaa87e47f7a3d307f138bbce2dae7095"><div class="ttname"><a href="class_qwt_polar_item.html#acaa87e47f7a3d307f138bbce2dae7095">QwtPolarItem::setRenderHint</a></div><div class="ttdeci">void setRenderHint(RenderHint, bool on=true)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00234">qwt_polar_item.cpp:234</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_acef8efd945a194b70a11ad39060de917"><div class="ttname"><a href="class_qwt_polar_item.html#acef8efd945a194b70a11ad39060de917">QwtPolarItem::setZ</a></div><div class="ttdeci">void setZ(double z)</div><div class="ttdoc">Set the z value.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00142">qwt_polar_item.cpp:142</a></div></div>
<div class="ttc" id="aclass_qwt_polar_item_html_af98ff690ffccd9c7d8af52f456014c1e"><div class="ttname"><a href="class_qwt_polar_item.html#af98ff690ffccd9c7d8af52f456014c1e">QwtPolarItem::rtti</a></div><div class="ttdeci">virtual int rtti() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__item_8cpp_source.html#l00112">qwt_polar_item.cpp:112</a></div></div>
<div class="ttc" id="aclass_qwt_polar_plot_html"><div class="ttname"><a href="class_qwt_polar_plot.html">QwtPolarPlot</a></div><div class="ttdoc">A plotting widget, displaying a polar coordinate system.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__polar__plot_8h_source.html#l00046">qwt_polar_plot.h:47</a></div></div>
<div class="ttc" id="aclass_qwt_scale_div_html"><div class="ttname"><a href="class_qwt_scale_div.html">QwtScaleDiv</a></div><div class="ttdoc">A class representing a scale division.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__scale__div_8h_source.html#l00033">qwt_scale_div.h:34</a></div></div>
<div class="ttc" id="aclass_qwt_text_html"><div class="ttname"><a href="class_qwt_text.html">QwtText</a></div><div class="ttdoc">A class representing a text.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__text_8h_source.html#l00051">qwt_text.h:52</a></div></div>
<div class="ttc" id="aclass_qwt_text_html_a4284800d239934818c1951381ff52d05"><div class="ttname"><a href="class_qwt_text.html#a4284800d239934818c1951381ff52d05">QwtText::renderFlags</a></div><div class="ttdeci">int renderFlags() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__text_8cpp_source.html#l00317">qwt_text.cpp:317</a></div></div>
<div class="ttc" id="aclass_qwt_text_html_afcbaa37913afaa0e92a649923cfe500b"><div class="ttname"><a href="class_qwt_text.html#afcbaa37913afaa0e92a649923cfe500b">QwtText::setRenderFlags</a></div><div class="ttdeci">void setRenderFlags(int)</div><div class="ttdoc">Change the render flags.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__text_8cpp_source.html#l00304">qwt_text.cpp:304</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><b>qwt_polar_item.cpp</b></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
